﻿#pragma once
#pragma warning(disable:4267)
#pragma warning(disable:4244)
#include<iostream>
#include<cstdio>
#include<string>
#include <windows.h>
#include <conio.h>
#include <tchar.h>
#include <strsafe.h>
#include<stdlib.h>
#include<fstream>
#include<cstring>
#include<thread>
#include<ctime> 
#include<vector>
#pragma comment(lib,"Wininet.lib")
using namespace std;

/*控制台底层操作头文件，包含鼠标，光标，键盘操作等事件*/
#include "consoleApi.h"

/*界面绘图头文件*/
#include"canvas.h"

/*控件头文件*/
#include"interface.h"

/*像素字符头文件*/
#include"char.h"

/*双缓冲*/
#include"double-buf.h"

/*多线程*/
#include"multi-thread.h"

/*状态工具*/
#include "development-tool.h"

/*运算符重载*/
bool operator!=(MOUSE_EVENT_RECORD now, MOUSE_EVENT_RECORD past);
bool operator!=(COORD a, COORD b);

#define F_blue FOREGROUND_BLUE  //前景色
#define F_green FOREGROUND_GREEN 
#define F_red FOREGROUND_RED 
#define F_inten FOREGROUND_INTENSITY	//前景色为强光
#define F_white (FOREGROUND_INTENSITY | FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE)	
#define F_gray (FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE)
#define F_magenta (FOREGROUND_INTENSITY | FOREGROUND_RED | FOREGROUND_BLUE) //品红
#define F_cyan (FOREGROUND_INTENSITY | FOREGROUND_GREEN | FOREGROUND_BLUE)	//青色 

#define default_color (FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE)
#define B_gray (BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE)  //灰色
#define B_blue BACKGROUND_BLUE  //背景色
#define B_green BACKGROUND_GREEN
#define B_red BACKGROUND_RED 
#define B_inten BACKGROUND_INTENSITY 
#define B_cyan (BACKGROUND_GREEN | BACKGROUND_BLUE)	
#define B_white (BACKGROUND_INTENSITY | BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE)	